#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

int main()
{
	std::vector<std::string> names;

	names.push_back("alex");
	names.push_back("begger");
	names.push_back("dinggo");
	names.push_back("rola");
	names.push_back("heizim");
	names.push_back("alazanda");
	names.push_back("linus");
	names.push_back("bill");
	names.push_back("harry");
	names.push_back("miky");		
	names.push_back("vectory");
	names.push_back("illzabeg");
	names.push_back("xiaomi");
	names.push_back("keda");

	std::sort(names.begin(),names.end());
	std::vector<std::string>::iterator iter = names.begin();

	while(iter != names.end())
		{
			std::cout<<*iter<<"\n";
			++iter;
		}

	return 0;
}
